import { IFeidaoAiBrowserComponent } from '@dfeidao/atom-web/interfaces';
import fire from '@dfeidao/atom-web/msg/fire';
import error from '@dfeidao/atom-web/msgbox/error';
export default async function a005(fd: IFeidaoAiBrowserComponent) {
	// 这里是删除
	const chk_list=fd.data.node.querySelectorAll('[data-id="chk-list"]:checked');
		console.log("chk_list",chk_list);
		if (chk_list.length > 0) {
			const chkList=Array.from(chk_list) as HTMLInputElement[];
			const arr=chkList.map((n) => {
				return n.getAttribute("data-del");
			});
			const nos=arr as string[];
			fire("zj-000006","a001",nos);
		} else {
		error("请选择要删除的数据");
		}
}
